package com.ruoyi.filingCabinet.service;

import com.ruoyi.filingCabinet.domain.FilingCabinet;

import java.util.List;

/**
 * 档案柜Service接口
 * 
 * @author lijie
 * @date 2025-03-20
 */
public interface IFilingCabinetService 
{
    /**
     * 查询档案柜
     * 
     * @param filingId 档案柜主键
     * @return 档案柜
     */
    public FilingCabinet selectFilingCabinetByFilingId(Long filingId);

    /**
     * 查询档案柜列表
     * 
     * @param filingCabinet 档案柜
     * @return 档案柜集合
     */
    public List<FilingCabinet> selectFilingCabinetList(FilingCabinet filingCabinet);

    /**
     * 新增档案柜
     * 
     * @param filingCabinet 档案柜
     * @return 结果
     */
    public int insertFilingCabinet(FilingCabinet filingCabinet);

    /**
     * 修改档案柜
     * 
     * @param filingCabinet 档案柜
     * @return 结果
     */
    public int updateFilingCabinet(FilingCabinet filingCabinet);

    /**
     * 批量删除档案柜
     * 
     * @param filingIds 需要删除的档案柜主键集合
     * @return 结果
     */
    public int deleteFilingCabinetByFilingIds(Long[] filingIds);

    /**
     * 删除档案柜信息
     * 
     * @param filingId 档案柜主键
     * @return 结果
     */
    public int deleteFilingCabinetByFilingId(Long filingId);
}
